package com.fled.itsmbigscreen.pojo;

import java.util.Date;

public class PduSensor {
    private Integer id;



    private Integer pudId;

    private String pduName;

    private Double temperature;

    private Double humidity;
    private Date addTime;

    private Double water;

    private Double smoke;


    public PduSensor(Integer id, Date addTime, Integer pudId, String pduName, Double temperature, Double humidity, Double water, Double smoke) {
        this.id = id;
        this.addTime = addTime;
        this.pudId = pudId;
        this.pduName = pduName;
        this.temperature = temperature;
        this.humidity = humidity;
        this.water = water;
        this.smoke = smoke;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getPudId() {
        return pudId;
    }

    public void setPudId(Integer pudId) {
        this.pudId = pudId;
    }

    public String getPduName() {
        return pduName;
    }

    public void setPduName(String pduName) {
        this.pduName = pduName == null ? null : pduName.trim();
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    public Double getHumidity() {
        return humidity;
    }

    public void setHumidity(Double humidity) {
        this.humidity = humidity;
    }

    public Double getWater() {
        return water;
    }

    public void setWater(Double water) {
        this.water = water;
    }

    public Double getSmoke() {
        return smoke;
    }

    public void setSmoke(Double smoke) {
        this.smoke = smoke;
    }
}